<script type="text/javascript">
	var i = 0; //comment
	i = i + 1;
	alert(i);
</script>

<script>
	<![CDATA[
		var i = 0; //comment
		i = i + 1;
		alert(i);
	]]>
</script>

<pre>
	<script>
		var i = 0; //comment
		i = i + 1;
		alert(i);
	</script>
</pre>

<script type="text/x-jquery-tmpl">     <a>     <!-- comment -->   <b>   </script>
<script type="text/custom">  var i=1@#$%^2   <a>     <!-- comment -->   <b>   </script>